package cn.sciento.farm;

import cn.sciento.autoconfigure.message.EnableSTongMessage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableSTongMessage
@EnableDiscoveryClient
//@SpringBootApplication(exclude = {SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class, ReactiveUserDetailsServiceAutoConfiguration.class,
//        ReactiveSecurityAutoConfiguration.class})
@SpringBootApplication
public class FarmMessageApplication {

    public static void main(String[] args) {
        SpringApplication.run(FarmMessageApplication.class, args);
    }

}
